export const TAB_ARR = [
  { lab: '待送票', val: 0 },
  { lab: '送票列表', val: 1 },
  { lab: '待签收', val: 2 },
  { lab: '待审核', val: 3 },
  { lab: '签收驳回', val: 4 },
  { lab: '签收通过', val: 5 },
];
export const indexSearchData = [
  {
    key: 'invoiceNumber',
    title: '发票号',
    type: 'input',
    attr: {
      placeholder: '请输入',
    },
  },
  {
    key: 'customerName',
    title: '客户名称',
    type: 'input',
    attr: {
      placeholder: '请输入',
    },
  },
  {
    key: 'settleOrderCode',
    title: '结算单号',
    type: 'input',
    attr: {
      placeholder: '请输入',
    },
  },
  {
    key: 'validState',
    title: '是否有效',
    type: 'select',
    attr: {
      placeholder: '请选择',
    },
    options: [
      {
        label: '有效',
        value: '0',
      },
      {
        label: '无效',
        value: '1',
      },
    ],
  },
];
export const indexSearchDataSP = [
  {
    key: 'giveApplyCode',
    title: '申请单号',
    type: 'input',
    attr: {
      placeholder: '请输入',
    },
  },
  {
    key: 'customerName',
    title: '客户名称',
    type: 'input',
    attr: {
      placeholder: '请输入',
    },
  },
  {
    key: 'invoiceNumber',
    title: '发票编号',
    type: 'input',
    attr: {
      placeholder: '请输入',
    },
  },
  {
    key: 'status',
    title: '送票状态',
    type: 'select',
    attr: {
      placeholder: '请选择',
    },
    options: [
      {
        label: '有效',
        value: '0',
      },
      {
        label: '无效',
        value: '1',
      },
    ],
  },
  {
    key: 'createStartTime',
    title: '创建时间',
    type: 'time',
    fieldname: ['beginDate', 'endDate'],
    attr: {
      placeholder: '请选择',
      type: 'daterange',
      'start-placeholder': '开始时间',
      'end-placeholder': '结束时间',
      'default-time': ['00:00:00', '23:59:59'],
    },
  },
  {
    key: 'createStartTime',
    title: '最后变更时间',
    type: 'time',
    fieldname: ['beginDate', 'endDate'],
    attr: {
      placeholder: '请选择',
      type: 'daterange',
      'start-placeholder': '开始时间',
      'end-placeholder': '结束时间',
      'default-time': ['00:00:00', '23:59:59'],
    },
  },
];
export const columnsTableA = [
  {
    width: '40',
    fixed: 'left',
    type: 'selection',
  },
  {
    type: 'index',
    label: '序号',
    width: 100,
    align: 'center',
  },
  {
    prop: 'invoiceNumber',
    label: '发票号',
    width: 100,
    'show-overflow-tooltip': true,
  },
  {
    prop: 'customerName',
    label: '客户名',
    width: 270,
    'show-overflow-tooltip': true,
    align: 'center',
  },
  {
    prop: 'pCompanyName',
    label: '配送商',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'applicationAmount',
    label: '含税金额',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'applicationNoTaxAmount',
    label: '不含税金额',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'applicationTaxAmount',
    label: '税额',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'relationSettleOrder',
    label: '关联结算单',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'nums',
    label: '物料总数量',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'bilingDate',
    label: '开票时间',
    minWidth: 120,
    align: 'center',
  },

  // {
  //   prop: 'action',
  //   label: '操作',
  //   width: 180,
  //   fixed: 'right',
  //   align: "center"
  // }
];
export const columnsTableB = [
  {
    width: '40',
    fixed: 'left',
    type: 'selection',
  },
  {
    type: 'index',
    label: '序号',
    width: 100,
    align: 'center',
  },
  {
    prop: 'invoiceNumber',
    label: '发票号',
    width: 100,
    'show-overflow-tooltip': true,
  },
  {
    prop: 'customerName',
    label: '客户名',
    width: 270,
    'show-overflow-tooltip': true,
    align: 'center',
  },
  {
    prop: 'pCompanyName',
    label: '配送商',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'applicationAmount',
    label: '含税金额',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'applicationNoTaxAmount',
    label: '不含税金额',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'applicationTaxAmount',
    label: '税额',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'relationSettleOrder',
    label: '关联结算单',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'nums',
    label: '物料总数量',
    minWidth: 120,
    align: 'center',
  },
  {
    prop: 'bilingDate',
    label: '开票时间',
    minWidth: 120,
    align: 'center',
  },

  {
    prop: 'action',
    label: '操作',
    width: 180,
    fixed: 'right',
    align: 'center',
  },
];
